#if !defined(AFX_PICT_H_)
#define AFX_PICT_H_

#include "MapGraph.h"
#include <set>
/////////////////////////////////////////////////////////////////////////////
// CPict window

class CPict : public CEdit
{
// Construction
public:
	CPict();
	
// Attributes
private:
	int nodeId;
	Graph G;
	bool hasChanged;
	std::set<int> ids;
// Operations
public:
	void Clear();
	void CPict::setNodeIds(std::set<int> nodes);
	void CPict::addEdge(int a,int b);
	int CPict::getId();
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPict)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPict();

	// Generated message map functions
protected:
	//{{AFX_MSG(CPict)
	afx_msg void OnPaint();
	//}}AFX_MSG
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
		afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
		afx_msg void OnMouseMove(UINT nFlags, CPoint point);
     afx_msg LRESULT OnMouseHover(WPARAM wparam, LPARAM lparam);
	DECLARE_MESSAGE_MAP()
public:
	
	afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PICT_H__48F3AFB2_FD91_4D99_8667_B7696DE39409__INCLUDED_)
